//列表请求参数
export type SearchParams = {
  pageNum?: number
  pageSize?: number
  postName?: string
  postCode?: string
  postStatus?: number
  beginTime?: string
  endTime?: string
}

//列表返回数据
export type ListResult = {
  pageNum: number
  pageSize: number
  rows: PostRow[]
  total: number
}

//岗位信息
export type PostRow = {
  post_id: number
  post_code: string
  post_name: string
  post_status: number
  create_time: string
  remark: string
}

//批量删除参数
export type BatchDestroyParams = {
  PostId: number[]
}

//删除参数
export type PostIdParams = {
  PostId: number
}

export type IdParams = {
  id: number
}

//修改状态参数
export type PostStateParams = {
  PostId: number
  PostStatus: number
}

export type PostParams = {
  post_id?: number
  post_name?: string
  post_code?: string
  post_status?: number
  create_time?: string
  remark?: string
}

//下拉列表
export type VoListResult = {
  post_id: number
  post_name: string
}
